package com.hsy.managemoney.modules.common;

/**
 * Created by Administrator on 2016/10/31.
 */
public class Conts {
    public class Apis {
        public static final String POST_AUTH_LOGIN = Config.API_SERVER + "api.php/Auth/login";
        public static final String POST_AUTH_REG = Config.API_SERVER + "api.php/Auth/reg";
        public static final String POST_AUTH_SEND_SMS = Config.API_SERVER + "api.php/Auth/sendSms";
        public static final String GET_MY_HOME = Config.API_SERVER + "api.php/My/home";
        public static final String GET_MY_MY = Config.API_SERVER + "api.php/My/my";
    }

    public class SPKey {
        public static final String SP_KEY = "SP_KEY";
        public static final String SP_TOKEN = "SP_TOKEN";
    }

    public class HttpKey {
        public static final String ERROR = "error";
        public static final String MSG = "msg";
        public static final String RESULT = "result";
        public static final int TYPE_CODE_ERROR = 0;
        public static final int TYPE_NETWORK_ERROR = 1;
        public static final int TYPE_AUTH_ERROR = 2;

    }
}
